<?php
require_once 'config.php';

$id = $_GET["id"];

var_dump($id);

//删除语句
$sql = "DELETE FROM `wish` WHERE `wish`.`id` = $id;";

//执行更新
$conn->query($sql);

//跳回首页
header("Location:index.php");
?>